﻿<%@ Page Title="孕婴店" Language="C#" MasterPageFile="~/List.Master" AutoEventWireup="true" CodeBehind="List.aspx.cs" Inherits="BBPA.Admin.SYS.Store.List" %>

<%@ MasterType VirtualPath="/List.Master" %>
<asp:Content ID="Content4" ContentPlaceHolderID="head" runat="server">
    <script>
        bodyWidth = 750;
        trHeight = trH2;
    </script>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="cph_th" runat="server">
    <th>名称</th>
    <th>负责人</th>
    <th id="th_Account" runat="server">账户金额</th>
    <th id="th_AccountCanBeUse" runat="server">可用</th>
    <th id="th_FrozenAccount" runat="server">冻结</th>
    <th id="th_PAFeeEndDate" runat="server">联盟费到期</th>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cph_td" runat="server">
    <td data-row-title="<%#Eval("ShortName") %>" data-userid="<%#Eval("UserID") %>"  class="<%#Convert.ToDateTime( Eval("PAFeeEndDate"))<DateTime.Now?"text-error":"" %>">
       <div class="intd">
         <%#Eval("Number") %><br><%#Eval("ShortName") %>
       <%#DataTypePlus.requestInt( Eval("State"))!=(int)EnumHelper.UserState.Nomal?" <span class=\"text-warning\">"+EnumHelper.GetEnumDescription((EnumHelper.UserState)DataTypePlus.requestInt( Eval("State"))):"</span>" %>
    </div>
           </td>
    <td><%#Eval("City") %><br>
        <%#Eval("Contacts") %></td>
    <td><%#StringPlus.showMoney( Eval("Account")) %></td>
    <td><%#StringPlus.showMoney(DataTypePlus.requestDecimal( Eval("Account"))-DataTypePlus.requestDecimal(Eval("FrozenAccount"))) %></td>
    <td><%#StringPlus.showMoney( Eval("FrozenAccount")) %></td>
    <td class="<%#Convert.ToDateTime( Eval("PAFeeEndDate"))<DateTime.Now?"text-error":"" %>"><%#Convert.ToDateTime( Eval("PAFeeEndDate")).ToShortDateString() %></td>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cph_listControls" runat="server">
    <a href="###" href-list="/sys/PAFee/list.aspx?StoreID=<%#Eval("id") %>" title="<%#Eval("ShortName") %>联盟费缴纳" target="_blank">联盟费缴纳</a><br>
    <a href="###" href-list="/sys/account_change_log/list.aspx?StoreID=<%#Eval("id") %>" title="<%#Eval("ShortName") %>账户收支" target="_blank">账户收支</a>
</asp:Content>
<asp:Content ID="con_Bottom" ContentPlaceHolderID="cph_ControlsBottom" runat="server">
    <input type="button" value="发消息" class="btn button_bat"  onclick="NewMessage()"/>
    </asp:Content>

<asp:Content ID="Content5" ContentPlaceHolderID="cph_search" runat="server">
    <div class="control-group">
        <label>商家名称/编号/电话号码/负责人</label>
        <asp:TextBox ID="search_text_fuzzy" runat="server"></asp:TextBox>
    </div>
    <div class="control-group RadioButtonList">
        <label>状态</label>
        <asp:RadioButtonList ID="search_radio_state" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
            <asp:ListItem Text="全部" Value="" Selected="True"></asp:ListItem>
            <asp:ListItem Text="已审核" Value="1"></asp:ListItem>
            <asp:ListItem Text="未审核" Value="2"></asp:ListItem>
        </asp:RadioButtonList>
    </div>
    <div class="control-group RadioButtonList">
        <label>联盟费</label>
        <asp:RadioButtonList ID="search_radio_pafeeenddate" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
            <asp:ListItem Text="全部" Value="" Selected="True"></asp:ListItem>
            <asp:ListItem Text="已到期" Value="1"></asp:ListItem>
            <asp:ListItem Text="未到期" Value="2"></asp:ListItem>
        </asp:RadioButtonList>
    </div>
</asp:Content>
